<div class="row" id="queryBox">
    <div class="panel panel-default">
        <div class="panel-heading">相关操作</div>
        <div class="panel-body">
            <form class="form-inline">
                <div class="form-group">
                    <p class="input-group"
                       ng-init="pop1.open  = false">
                        <span class="input-group-addon">开始</span>
                        <input type="text"
                               class="form-control"
                               placeholder="{{payload.startDate|date:'yyyy年MM月dd日'||'请选择开始日期'}}"
                               readonly
                               uib-datepicker-popup="{{dateFormat}}"
                               ng-model="startDate"
                               is-open="pop1.open"
                               datepicker-options="dateOptions"
                               current-text="今天"
                               clear-text="清除"
                               close-text="关闭"/>
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default" ng-click="pop1.open = true">
                                <i class="glyphicon glyphicon-calendar"></i>
                            </button>
                          </span>
                    </p>
                </div>
                <div class="form-group">
                    <p class="input-group"
                       ng-init="pop3.open  = false">
                        <span class="input-group-addon">结束</span>
                        <input type="text"
                               class="form-control"
                               placeholder="{{payload.endDate|date:'yyyy年MM月dd日'||'请选择结束日期'}}"
                               readonly
                               uib-datepicker-popup="{{dateFormat}}"
                               ng-model="endDate"
                               is-open="pop3.open"
                               datepicker-options="dateOptions"
                               current-text="今天"
                               clear-text="清除"
                               close-text="关闭"/>
                        <span class="input-group-btn">
                            <button type="button" class="btn btn-default" ng-click="pop3.open = true">
                                <i class="glyphicon glyphicon-calendar"></i>
                            </button>
                          </span>
                    </p>
                </div>
                <div class="form-group" style="padding-bottom: 10px;">
                    <div class="input-group">
                        <div class="input-group-addon">编号</div>
                        <input type="text" ng-model="code" class="form-control" placeholder="编号">
                    </div>
                </div>
                <div class="form-group" style="padding-bottom: 10px;">
                    <div class="input-group">
                        <div class="input-group-addon">名称</div>
                        <input type="text" ng-model="name" class="form-control" placeholder="名称">
                    </div>
                </div>
            </form>
            <div class="row">
                <div class="form-group pull-right" style="padding: 16px 16px 0px 0px;">
                    <button type="button" class="btn btn-primary" title="查询" ng-click="query()">
                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询
                    </button>
                    <button ng-disabled="createProjectDisabled" type="button" class="btn btn-success" title="新建机构" create-org-form>
                        <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> 新建
                    </button>
                    <button ng-disabled="createProjectDisabled" type="button" class="btn btn-danger" title="删除机构" ui-sref="m-new">
                        <span class="glyphicon glyphicon-trash" aria-hidden="true"></span> 删除
                    </button>
                    <button ng-disabled="createProjectDisabled" type="button" class="btn btn-warning" title="修改机构" ui-sref="m-new">
                        <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> 修改
                    </button>
                    <button type="button" class="btn btn-info hidden-xs" onclick="G.printProjList('项目列表')">
                        <span class="glyphicon glyphicon-print" aria-hidden="true" ></span> 打印
                    </button>

                </div>
            </div>
        </div>
    </div>
</div>